package com.gxa.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Controller;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 10076
 */
@ApiModel(value = "投保申请")
@Controller
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InsureApply implements Serializable {
   @ApiModelProperty(hidden = true)
   private Integer id;
   @ApiModelProperty(name = "姓名",value = "姓名",required = true)
   private String name;
   @ApiModelProperty(name = "手机号",value = "手机号",required = true)
   private String phone;
   @ApiModelProperty(name = "车牌号",value = "车牌号",required = true)
   private String lcNumber;
   @ApiModelProperty(name = "申请时间",value = "申请时间",required = true)
   @JsonFormat(pattern = "YYYY-MM--dd HH:mm:ss",timezone = "GMT+8")
   private Date time;
}
